package com.hqd.ch03.v48.boot.context.config;

public class ConfigDataResolutionResult {

    private final ConfigDataLocation location;

    private final ConfigDataResource resource;

    private final boolean profileSpecific;

    public ConfigDataResolutionResult(ConfigDataLocation location, ConfigDataResource resource, boolean profileSpecific) {
        this.location = location;
        this.resource = resource;
        this.profileSpecific = profileSpecific;
    }

    public ConfigDataLocation getLocation() {
        return this.location;
    }

    public ConfigDataResource getResource() {
        return this.resource;
    }

    public boolean isProfileSpecific() {
        return this.profileSpecific;
    }

}
